package top.gangster.lunan.templateservice.feign.imp;

import org.springframework.stereotype.Component;
import top.gangster.lunan.result.Result;
import top.gangster.lunan.templateservice.feign.OSSClient;

@Component
public class OSSClientImpl implements OSSClient {

	// 以下的方法会在OSSClient出错时执行
	@Override
	public Result deleteTemplate(String fileName) {
		return Result.error().message("删除OSS中：Template/"+fileName+"文件失败");
	}
}
